<?xml version='1.0' encoding='UTF-8' ?>
<!--
  - Copyright The WildFly Authors
  - SPDX-License-Identifier: Apache-2.0
  -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    <h:head>
        <title>CDI URL Validator</title>
    </h:head>
    <h:body>
        <h:form id="form">
            <h:outputLabel for="url">Type URL </h:outputLabel>
            <h:inputText id="url" value="#{urlConverterBean.value}"/>
            <h:commandButton id="submit" action="#{urlConverterBean.submit(component)}" value="Submit"/>
            <h:messages layout="table" globalOnly="false" showDetail="true" showSummary="true" />
        </h:form>
    </h:body>
</html>
